<?php

namespace app\admin\validate;

use think\Validate;

class BoxGameBannerValidate extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'banner'  => 'require',
        'device' => 'require',
    ];

    protected $message  =   [
        'name.require' => '广告名称不能为空',
        'banner.require' => 'banner不能为空',
        'device.require' => '设备类型不能为空',

    ];
}
